package com.weimob.mcloud.wechatwork.customer.service.user.enums;

/**
 * @author junlong.lv
 * @version 1.0
 * @date 2022/3/22 3:54 下午
 */
public enum TagBizErrorEnum {

    AUTHORIZE_AUTH("50000", "未绑定企微助手"),
    NOT_FIND_PRIVATE_SPHERE("50001", "未查到私域信息"),
    TAG_NOT_EXIT("60000", "企微官方标签不存在"),
    TAG_GROUP_NOT_EXIT("60001", "企微官方标签组不存在"),
    CORP_ID_NOT_EXIT("60002", "corpId不允许为空"),
    TAG_GROUP_NAME_IS_NOT_EMPTY("60003", "标签组名称不允许为空"),
    TAG_GROUP_NOT_HAVE_TAG("60004", "标签组下面没有标签"),
    TAG_ID_NOT_EMPTY("60005", "标签id不允许为空"),
    TAG_NAME_NOT_EMPTY("60006", "标签名称不允许为空"),
    TAG_GROUP_ID_IS_NOT_EMPTY("60007", "标签组id不允许为空"),
    CDP_MARK_TAG_ERROR("60008", "调用cdp服务打标失败"),
    CDP_REMOVE_TAG_ERROR("60008", "调用cdp服务移除客户标签失败"),
    BO_ID_NOT_EXIT("60009", "corpId不允许为空"),
    BO_ID_CORP_ID_ERROR("60010", "corpId和bosId不匹配"),

    CUSTOMER_WID_NOT_EXIT("70000", "此wid查询外部联系人id没有查到"),

    CUSTOMER_NOT_HAVE_FRIEND("70001", "该客户没有所属员工，或员工不在可见范围之内"),
    CUSTOMER_WID_IS_NOT_EMPTY("70002", "客户wid不允许为空"),

    QUERY_PASSPORT_CHANGE_EXTERNALUSERID_ERROR("70003", "查询passport拿wid换externalUserId失败"),

    TX_USERiD_NOT_EXIT("80000", "该员工不存在"),

            ;

    private final String code;
    private final String desc;

    TagBizErrorEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
